Show Thread Enhancements - Add link "Ban User" in the drop down user (Quick Ban)
This mod add a link for ban user quickly, in the drop down user.
In the "memberaction_dropdown" template, find:<vb:if condition="$show['homepage']">
<li class="left">
<a href="{vb:raw memberinfo.homepage}" rel="nofollow">
<img src="{vb:stylevar imgdir_siteicons}/homepage.png" alt="" />
{vb:rawphrase visit_homepage}
</a>
</li>
</vb:if>
Add under:<vb:if condition="is_member_of($bbuserinfo, 5, 6, 7)">
<li class="left">
<a href="modcp/banning.php?do=banuser&userid={vb:raw memberinfo.userid}">
<img src="{vb:stylevar imgdir_siteicons}/profile.png" alt="" />
Ban User
</a>
</li>
</vb:if>PS: Limited to usergroups 5,6,7 (Modo, Admin, S-modo)
Nice Idea, Installed :)
Top work.
Great thanks, have added this.:)
Also would be nice if you could provide the code for a direct link to user manager, in fact this would be more useful to me generally as an admin, as a ban can be processed from there as well as everything else.
thanks
Rolf
Thanks for this...Installed! :up:
Great thanks, have added this.:)
Also would be nice if you could provide the code for a direct link to user manager, in fact this would be more useful to me generally as an admin, as a ban can be processed from there as well as everything else.
thanks
Rolf
User manager ?
This isn't showing for me and Im using useful links mod.
Have you seen my hack: http://www.vbulletin.org/forum/showthread.php?t=229728
Seems to to be a light copy :o
User manager in the admin control panel, from where you can use a drop down menu to ban, send activation Email etc.
Have you seen my hack: http://www.vbulletin.org/forum/showthread.php?t=229728
Seems to to be a light copy :o
ha no, I had not even seen your hack :p
Sorry how to u activate the ban from the admin panel? Doesn't show up... :(
does this work for 3.8???
Must login to modcp?
If I may:
1. No conditions do not block itself;
2. Better to put a link - target="_blank" to open a new window.